package com.bst.bsj.common.dal.dataobject;

import java.math.BigInteger;
import java.util.Date;
import com.sylinxsoft.tools.BaseDO;
import com.sylinxsoft.tools.annotation.BoConfig;
import com.sylinxsoft.tools.annotation.BoFieldConfig;

/**
 * 系统消息
 * 
 * @author han 2016年3月18日 下午2:40:38
 *
 */
@BoConfig(tableName = "t_user_message")
public class UserMessage extends BaseDO {

  /**
   * 所属哪个用户的消息
   */
  @BoFieldConfig(columnName = "uid")
  private String uid;

  /**
   * 消息发送者
   */
  @BoFieldConfig(columnName = "from_uid")
  private String fromUid;

  /**
   * 是否已读
   */
  @BoFieldConfig(columnName = "has_read")
  private String hasRead;

  /**
   * 状态
   */
  @BoFieldConfig(columnName = "status")
  private String status;

  /**
   * 消息过期时间
   */
  @BoFieldConfig(columnName = "expire_time")
  private Date expireTime;

  /**
   * 消息ID
   */
  @BoFieldConfig(columnName = "msg_id")
  private Long msgId;

  /**
   * 消息类别
   */
  @BoFieldConfig(columnName = "msg_type")
  private String msgType;

  public String getUid() {
    return uid;
  }

  public void setUid(String uid) {
    this.uid = uid;
  }

  public String getHasRead() {
    return hasRead;
  }

  public void setHasRead(String hasRead) {
    this.hasRead = hasRead;
  }

  public Date getExpireTime() {
    return expireTime;
  }

  public void setExpireTime(Date expireTime) {
    this.expireTime = expireTime;
  }

  public String getFromUid() {
    return fromUid;
  }

  public void setFromUid(String fromUid) {
    this.fromUid = fromUid;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public Long getMsgId() {
    return msgId;
  }

  public void setMsgId(Long msgId) {
    this.msgId = msgId;
  }

  public String getMsgType() {
    return msgType;
  }

  public void setMsgType(String msgType) {
    this.msgType = msgType;
  }

}
